It seems the PHP5 is no longer supported: just use php7 instead where you see php5 in the previous posts, and it should work. I found it using the command "opkg list php*" to see what was there (without the php* can be used to find ALL packages...